#pragma once

#include <iostream>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <cstring>

class TcpClient
{
private:
	int sock;
    struct sockaddr_in m_sockaddr_in_;
public:
	TcpClient(const std::string& , uint32_t );
	int net_read(char* , int );
	int net_write(char* , int );
	~TcpClient();
};


